/**
 * Created by dinghh on 2018-7-11.
 */
(function (angular) {
    function ModelManagementService($resource, $q, $http, UrlConfigService) {
        var _schema = [
            {label: '序号', name: "id",sortable: false},
            {label: '模型代码', name: "code", sortable: false},
            {label: '模型名称', name: "name", sortable: false},
            {label: '模型简介', name: "describe", sortable: false},
            {label: '操作', type: 'template', templateUrl: 'operation.html', width: '180px'}
        ];
        this._schema = _schema;
        this._sort = '';
        this._order = '';
        this._listUrl = UrlConfigService.urlConfig. decisionAnalysis.falseRecognition.modelManagement.list;
        this._url = '';

        BaseListService.call(this, this._listUrl, $resource, $q, $http, _schema, this._url);
    }

    ModelManagementService.$inject = ['$resource', '$q', '$http', 'UrlConfigService'];
    angular.module('MetronicApp').service('ModelManagementService', ModelManagementService);
})(angular);